package com.thought.wxsession;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

@SpringBootApplication
@MapperScan("com.thought.wxsession.mapper")
public class SessionSaveApplication {

    public static void main(String[] args) {
        SpringApplication.run(SessionSaveApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ 会话存档启动成功    ლ(´ڡ`ლ)ﾞ");
        System.out.println(String.format("当前时间：%s \n", LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"))));
    }

}
